qrisp.QuantumCircuit.gphase#

QuantumCircuit.gphase(phi, qubits)[source]#

Instruct a global phase. Global phases do not directly influence the QuantumCircuits outcome however they can become physical if used as a base gate for a controlled operation.

Parameters:
phifloat or sympy.Symbol

The angle parameter.

qubitsTYPE

The Qubit to apply the gate on.